package cn.iocoder.yudao.module.engine.controller.app.usertimetransaction.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 用户时长交易记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppUserTimeTransactionPageReqVO extends PageParam {
    @Schema(description = "交易类型, 1: 充值, -1: 消耗", example = "2")
    private Integer transactionType;

    @Schema(description = "充值订单ID", example = "10477")
    private Long orderId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "对局id", example = "12838")
    private String gameMatchId;

    @Schema(description = "角色id", example = "9761")
    private Integer roleId;

}